package com.reps.service;

/**
 * Created by john on 2018/7/22.
 */
public class GetValueByIndex {



    private static String[] s={"","","","","","","","","","","","","","","","","","","","","","","",""};


    //复选框----------------------------------------------------------------

    //症状
    private static String[] symptoms={"无症状","头痛","头晕","心悸","胸闷","胸痛",
            "慢性咳嗽","咳痰","呼吸困难","多饮","多尿","体重下降",
            "乏力","关节肿痛","视力模糊","手脚麻木","尿急","尿痛",
            "便秘","腹泻","恶心呕吐","眼花","耳鸣","乳房胀痛",""};
    //锻炼频率
    private static String[] training_rate={"每天","每周一次以上","偶尔","不锻炼"};

    //饮食习惯
    private static String[] eat_habits={"荤素均衡","荤食为主","素食为主","嗜盐","嗜油","嗜糖"};





    //单选框-------------------------------------------------------------------



    /**
     *
     * @param s    复选框选择的下标（示例：“1，0，1，0”）1表示选中，0未选中
     * @param type 复选框类型
     * @return
     */
    public static String getValue(String s,String type) {
        String returnString = "";
        String[] ss=s.split(",");
        for (int i=0;i<ss.length;i++)
        {



        }

        return returnString;

    }


}
